import request from '@/utils/request'

export function getSysConfig(type)
{
  return request({
    url: '/shop/sysConfig/'+type,
    method: 'get'
  })
}

export function updateConfig(data)
{
  return request({
    url: '/shop/sysConfig',
    method: 'put',
    data:data
  })
}
